const config = require('../../../../config')
module.exports = class extends think.Controller {
  async indexAction () { // 检查版本
    var db = this.mongoose('mongoose/version')
    var result = await db.find({})
    console.log(result)
    this.assign({
      type: config.version
    })
    return this.display();
  }
}